package net.cjw.initsb.controller.background;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.github.pagehelper.PageInfo;
import com.google.common.base.Strings;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import net.cjw.initsb.common.ServiceResult;
import net.cjw.initsb.common.ServiceResult.ServiceResultMsg;
import net.cjw.initsb.entity.Permission;
import net.cjw.initsb.service.PermissionServiceI;

@Api(description = "测试")
@RestController
@RequestMapping("test")
public class TestController {

	Logger logger = LoggerFactory.getLogger(this.getClass());

	@Autowired
	private PermissionServiceI permissionServiceI;

	@PostMapping("mail")
	public ServiceResult<String> delete() {
		
		
		return ServiceResult.buildError(ServiceResultMsg.VERSION_ERROR_MSG);
	}

}
